<script>
export default {
  //  methods: {
  //   onClickLeft() {
  //     this.$router.push('../views/my.vue');
  //   }
  // },
  setup() {
    const onClickLeft = () => {
      console.log(111)
      history.back();
    };
    return {
      onClickLeft,
    };
  },
};
</script>
<template>
  <div class="message">
    <div class="top">
      <van-nav-bar title="消息" left-text="返回" left-arrow @click-left="onClickLeft" />
    </div>
    <div class="body">
      <van-cell title="互动消息">
      <van-icon name="arrow" />
      </van-cell>
        <van-cell title="系统消息">
      <van-icon name="arrow" />
      </van-cell>
      
    </div>
  </div>
</template>

<style  scoped>
.message {
  width: 100%;
  height: 100%;
 
}

.top {
  width: 100%;
  height: 100px;
  
  
}

</style>
